package com.odianyun.hello.service;

import com.odianyun.db.query.PageVO;
import com.odianyun.hello.model.PO.CodePO;
import com.odianyun.hello.model.VO.CodeVO;
import com.odianyun.project.query.PageQueryArgs;
import com.odianyun.project.query.QueryArgs;

import com.odianyun.project.base.IBaseService;
import com.odianyun.project.base.IEntity;
import com.odianyun.hello.model.PO.SoPO;
import com.odianyun.hello.model.VO.SoVO;

import java.util.List;
import java.util.Map;

public interface SoService extends IBaseService<Long, SoPO, IEntity, SoVO, PageQueryArgs, QueryArgs> {

    PageVO<SoVO> ListPageByMore(PageQueryArgs args , String[] selectSoItemFiled);

    Map<String,Long> getStatus(QueryArgs args);

    void updateStatus(String orderCode);

    List<Map<String, Object>> getCountByStatus(QueryArgs args);

    void updateStatus();
}
